package com.gitee.dolt.sms.entity;

import lombok.AccessLevel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author LYH
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class AliBatchSmsRequest extends BaseRequest {

    private String templateCode;

    private List<AliBatchSmsObj> smsObjs;

    public static AliBatchSmsRequest newInstance(String templateCode, List<AliBatchSmsObj> smsObjs) {
        return new AliBatchSmsRequest().setTemplateCode(templateCode).setSmsObjs(smsObjs);
    }


}
